
// Local variables
var p1: IPoint = new Shapes.Point(3, 4);
var dist1 = p1.getDist();